package com.umpay.dto.merAccess.req.query;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/*******************************************************************
 * description : 银行回单查询
 * @author zhangru
 * @date 2018年5月23日 下午3:08:38
 * @version 1.0
 *******************************************************************/
public class BankReceiptQueryReq extends CommonReq{

	@NotEmpty(message = "原交易的订单号不能为空")		
	@Pattern(message = "原交易的订单号格式不正确")
	private String ori_order_id;//	原交易的订单号		Y
	
	@NotEmpty(message = "原交易的订单日期不能为空")		
	@Pattern(message = "原交易的订单日期格式不正确")
	private String ori_mer_date;//	原交易的订单日期	Y
	
//	@NotEmpty(message = "商户流水号不能为空")		
	@Pattern(message = "商户流水号格式不正确")
	private String mer_trace;//	商户流水号	变长	Y
	
	@NotEmpty(message = "交易类型不能为空")		
	@Pattern(message = "交易类型格式不正确")
	private String trans_type;//	交易类型	04：提现	05：分账	Y

	public String getOri_order_id() {
		return ori_order_id;
	}

	public void setOri_order_id(String ori_order_id) {
		this.ori_order_id = ori_order_id;
	}

	public String getOri_mer_date() {
		return ori_mer_date;
	}

	public void setOri_mer_date(String ori_mer_date) {
		this.ori_mer_date = ori_mer_date;
	}

	public String getMer_trace() {
		return mer_trace;
	}

	public void setMer_trace(String mer_trace) {
		this.mer_trace = mer_trace;
	}

	public String getTrans_type() {
		return trans_type;
	}

	public void setTrans_type(String trans_type) {
		this.trans_type = trans_type;
	}

	@Override
	public String toString() {
		return "BankReceiptQueryReq ["+super.toString()
				+ "，ori_order_id=" + ori_order_id + ", ori_mer_date=" + ori_mer_date + ", mer_trace="
		        + mer_trace + ", trans_type=" + trans_type + "]";
	}
	
}
